# -*- coding:utf-8 -*-

from rest_framework import serializers

from Apps.Interface.models import InterfaceVariableEnv


class InterfaceEnvSer(serializers.ModelSerializer):
    class Meta:
        model = InterfaceVariableEnv
        fields = ["id", "env_name", "env_value", "project"]


class InterfaceEnvNameSer(serializers.ModelSerializer):
    class Meta:
        model = InterfaceVariableEnv
        fields = ["id", "env_name"]
